package com.maimao.api.user;

import com.maimao.core.model.resp.Result;
import com.maimao.model.common.CommonCheckInput;
import com.maimao.model.user.Enterprise;
import com.maimao.model.user.input.EmailInput;
import com.maimao.model.user.sys.vo.Permissions;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author MaoLin Wang
 * @date 2020/12/13 9:59 下午
 */
@Api(value = "企业接口")
@RequestMapping("/web/company")
public interface EnterpriseApi {

    @ApiOperation("根据邮箱查询企业权限")
    Result<?> getCompanyPermissionByEmail(@RequestParam("email") String email);

    Result<?> registerAndApplyShop(Enterprise enterprise);

    Result<?> checkEmailBind(EmailInput input);

    Result<?> queryCompanyShopStatus();

    Result<?> checkShop(CommonCheckInput input);
}
